package com.ruoyi.eqmonitor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备报警处置对象 opt_device_alarm_process
 * @author ruoyi
 * @date 2022-11-26
 */
public class OptDeviceAlarmProcess extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**  */
	@TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 报警记录 */
    @Excel(name = "报警记录")
    private Long alarmId;

    /** 环节标识(0 待派发 1 已指派  2 待确认  3 已确认 4 清除) */
    @Excel(name = "环节标识(0 待派发 1 已指派  2 待确认  3 已确认 4 清除)")
    private Long activityFlag;

    /** 经办人 */
    @Excel(name = "经办人")
    private Long handleUserId;

    /** 经办姓名 */
    @Excel(name = "经办姓名")
    private String handleUserName;

    /** 经办时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "经办时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 办理情况 */
    @Excel(name = "办理情况")
    private String handleDescription;

    /** 附件 */
    @Excel(name = "附件")
    private String fileids;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAlarmId(Long alarmId) 
    {
        this.alarmId = alarmId;
    }

    public Long getAlarmId() 
    {
        return alarmId;
    }
    public void setActivityFlag(Long activityFlag) 
    {
        this.activityFlag = activityFlag;
    }

    public Long getActivityFlag() 
    {
        return activityFlag;
    }
    public void setHandleUserId(Long handleUserId) 
    {
        this.handleUserId = handleUserId;
    }

    public Long getHandleUserId() 
    {
        return handleUserId;
    }
    public void setHandleUserName(String handleUserName) 
    {
        this.handleUserName = handleUserName;
    }

    public String getHandleUserName() 
    {
        return handleUserName;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setHandleDescription(String handleDescription) 
    {
        this.handleDescription = handleDescription;
    }

    public String getHandleDescription() 
    {
        return handleDescription;
    }
    public void setFileids(String fileids) 
    {
        this.fileids = fileids;
    }

    public String getFileids() 
    {
        return fileids;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alarmId", getAlarmId())
            .append("activityFlag", getActivityFlag())
            .append("handleUserId", getHandleUserId())
            .append("handleUserName", getHandleUserName())
            .append("handleTime", getHandleTime())
            .append("handleDescription", getHandleDescription())
            .append("fileids", getFileids())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}